package calao.client.ui;

public class ListText 
{
	
	StringBuffer buffer = new StringBuffer();
	
	public void add(String itemText)
	{
		// TODO possibly localize this
		if (buffer.length()>0) buffer.append(", ");
		if (itemText!=null) buffer.append(itemText);
	}
	
	public String toString()
	{
		return buffer.toString();
	}
	
	public String getText()
	{
		return buffer.toString();
	}

}
